﻿<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeFile="SiteConfig.aspx.cs"
    Inherits="Whir_System_Module_Config_SiteConfig" %>

<%@ Register Src="../../../UserControls/ezUpload.ascx" TagName="ezUpload" TagPrefix="uc1" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>站点设置</title>
    <link href="../../Skin/Default/Css/main.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript">
        if (top.location == self.location) { 
            top.location='../../Default.aspx';
        } 
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#DADADA">
            <tr>
                <td height="26" colspan="2" align="left" class="form_title"><strong>站点设置</strong></td>
            </tr>
            <tr>
                <td width="130px" height="30" align="center" class="form_tdText">网站标题 </td>
                <td align="left" class="form_td">
                    <asp:TextBox ID="txtSiteTitle" runat="server" CssClass="Warning" Width="200"></asp:TextBox>&nbsp;
                    <whir:ezValidatorMessage ID="EzValidatorMessage1" runat="server" ControlToValidate="txtSiteTitle"
                        CssLink="" ErrorMessage="请输入网站标题!" ValidateGroup="Group1" ValidatoringType="Require"></whir:ezValidatorMessage></td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText">网站Logo </td>
                <td align="left" class="form_td">
                    <uc1:ezUpload ID="EzUpload1" runat="server" />
                </td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText">登录Logo </td>
                <td align="left" class="form_td">
                    <uc1:ezUpload ID="EzUpload2" runat="server" />
                </td>
            </tr>
            <tr style="display: none;">
                <td height="30" align="center" class="form_tdText">网站ICP </td>
                <td align="left" class="form_td">
                    <asp:TextBox ID="txtSiteICP" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr style="display: none;">
                <td height="30" align="center" class="form_tdText">ICP文件 </td>
                <td align="left" class="form_td">
                    <asp:FileUpload ID="fuICPUrl" runat="server" />
                </td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText">Meta KeyWord </td>
                <td align="left" class="form_td">
                    <asp:TextBox ID="txtMetaKey" runat="server" TextMode="MultiLine" CssClass="input_textarea"></asp:TextBox><span
                        class="form_desc">Meta 关键字KeyWord之间用‘,’隔开</span> </td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText">Meta Content </td>
                <td align="left" class="form_td">
                    <asp:TextBox ID="txtMetaDesc" runat="server" TextMode="MultiLine" CssClass="input_textarea"></asp:TextBox><span
                        class="form_desc">Meta 描述Content之间用‘,’隔开</span> </td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText">版权描述 </td>
                <td align="left" class="form_td">
                    <asp:TextBox ID="txtCopyright" runat="server" TextMode="MultiLine" CssClass="input_textarea"></asp:TextBox>
                </td>
            </tr>
            <tr style="display: none;">
                <td height="30" align="center" class="form_tdText">广告目录 </td>
                <td align="left" class="form_td">
                    <asp:TextBox ID="txtADCatalog" runat="server" CssClass="Warning"></asp:TextBox>
                    <whir:ezValidatorMessage ID="EzValidatorMessage2" runat="server" ControlToValidate="txtADCatalog"
                        CssLink="" ErrorMessage="请输入广告目录!" ValidateGroup="Group1" ValidatoringType="Require"></whir:ezValidatorMessage></td>
            </tr>
            <tr style="display: none;">
                <td height="30" align="center" class="form_tdText">是否允许上传 </td>
                <td align="left" class="form_td">
                    <asp:RadioButtonList ID="rblIsAllowUpload" runat="server" RepeatDirection="horizontal">
                        <asp:ListItem Value="1" Selected="True">是</asp:ListItem>
                        <asp:ListItem Value="0">否</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText">选用适合的编辑器 </td>
                <td align="left" class="form_td">
                    <asp:RadioButtonList ID="rblEditor" runat="server">
                        <asp:ListItem Text="FckEditor 编辑器" Value="FckEditor"><IMG alt="FckEditor 编辑器" SRC="../../../Whir_System/image/CommonImage/FckEditor_demo.jpg" /></asp:ListItem>
                        <asp:ListItem Text="eWebEditor 编辑器" Value="eWebEditor"><IMG alt ="eWebEditor 编辑器" SRC="../../../Whir_System/image/CommonImage/eWebEditor_demo.gif" /></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText"></td>
                <td align="left" class="form_td">
                    <asp:Button ID="btnUpdate" runat="server" Text="修改" CssClass="btn_default" OnClick="btnUpdate_Click" />
                    <input id="Reset1" type="reset" value="重置" class="btn_default" />&nbsp;&nbsp;
                    <whir:ezValidatorButton ID="EzValidatorButton1" runat="server" ControlToBind="btnUpdate" />
                </td>
            </tr>
        </table>
    </form>
</body>
</html>

<script language="javascript" src="../../Js/common.js"></script>

<script type="text/javascript">initAutoFormStyle();</script>

